]> dgit.raspbian.org Git - gnome-shell.git/commit
unlockDialog: Only cancel AuthPrompt if it exists
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Fri, 27 Mar 2020 23:35:36 +0000 (20:35 -0300)
committerFlorian Müllner <florian.muellner@gmail.com>
Fri, 27 Mar 2020 23:40:08 +0000 (23:40 +0000)
commitbea34da289a39e88ca1a6bf0af69a0865e3ff7f8
treebe1578bab7d319fa3c2b810147c2b564ad6dc728
parentaafec16f4975ebfb4f14c59c50251f3df7ee8ea9
unlockDialog: Only cancel AuthPrompt if it exists

AuthPrompt is created on demand, and this._authPrompt is
expected to be null except on very strictly controlled
occasions. The idle monitor callback isn't one of them.

Check if AuthPrompt exists before cancelling it.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2371
js/ui/unlockDialog.js